package org.altervista.cp.thinjdbc.wrappers;

public abstract class ParameterMetaData extends
		Wrapper<java.sql.ParameterMetaData> implements
		java.sql.ParameterMetaData {

	static ParameterMetaData newInstance(java.sql.ParameterMetaData pmd) {
		return _GENERATOR.generate(pmd);
	}

	public abstract String getParameterClassName(int param);

	public abstract int getParameterCount();

	public abstract int getParameterMode(int param);

	public abstract int getParameterType(int param);

	public abstract String getParameterTypeName(int param);

	public abstract int getPrecision(int param);

	public abstract int getScale(int param);

	public abstract int isNullable(int param);

	public abstract boolean isSigned(int param);

	void close() {
		_GENERATOR.release(this);
	}

	private static final _ProxyGenerator<ParameterMetaData> _GENERATOR = new _ProxyGenerator<ParameterMetaData>(
			ParameterMetaData.class);

}
